<?php
/**
 * class f_form_checkers_checkOneUrl
 *
 * @author Guillaume SCHNEIDER
 * @subpackage core
 */
class m_news_forms_checkers_checkOneUrl extends f_form_Checker
{
	public function check()
	{
        if(!preg_match("/^([a-zA-Z0-9.~_,-\/])*$/",$this->getValue()))
        {
            return $this->getErrorMessage();
        }

        return true;
	}
}